package com.tedu.mybatis.pojo;

import java.util.Date;

/**
 * VO
 * 一般有两种解释
 * Value Object：值对象，作用：用当前对象表示一组数据
 * View Object：视图对象，作用：用于表示需要在某个页面上展现的一组数据
 *
 * 当前案例中VO为View Object ，用于将来在页面上展现的信息
 * */
public class WeiboVO1 {
    private String content;
    private Date created;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    @Override
    public String toString() {
        return "WeiboVO1{" +
                "content='" + content + '\'' +
                ", created=" + created +
                '}';
    }
}
